package com.smart.yun.client;

import com.smart.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient(name = "bus-wxmp-service")
public interface BusWxmpServiceClient {

    @RequestMapping(value = "/wxapi/getUserInfoByCode",method = RequestMethod.GET)
    R getOpenIdByCode(@RequestParam("code") String code, @RequestParam("appId") String appId);

}
